package com.maduar.mybatis.demo.service.strategy;

import org.springframework.stereotype.Service;

/**
 * Description:
 *
 * @author maduar maduar@163.com
 * @date 2021-04-15 22:57
 */
@Service("add")
public class MathAddImpl implements MathInteface {
    @Override
    public int exec(int num1, int num2) {
        return num1 + num2;
    }
}
